import request from "../request";

export async function getLoginFn(params) {
  return request({
    url: "/api/tollman/login",
    method: "post",
    data: params,
  });
}

export async function getOneByUsername(params) {
  return request({
    url: "/api/tollman/find-one",
    method: "post",
    data: params,
  });
}

export async function getworkstations(params) {
  return request({
    url: "/api/tollman/workstations",
    method: "post",
    data: params,
  });
}
